package com.itheima.io1.mytest;

import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 * @author zhangbaiyan
 * @date 2024-09-21 18:49
 * @description:
 * @version:
 */
public class test11 {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream("a.txt")));
        String line = null;
        while ((line = br.readLine())!= null) System.out.println(line);
        br.close();
    }
}
